package com.pig4cloud.mall.product.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.pig4cloud.mall.product.entity.SpuInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * spu信息
 *
 * @author fangyu
 * @date 2020-11-25 14:58:46
 */
@Mapper
public interface SpuInfoMapper extends BaseMapper<SpuInfo> {

	/**
	 * 查询spu信息带图片列表
	 * @return
	 */
	IPage<SpuInfo> querySpuInfo(Page<SpuInfo> page, @Param("params") Map<String, Object> params);
}
